// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
03A4: name_thread 'CGLEFAM' 
:CGLEFAM_50004
wait 0
0006: 0@ = 0
0006: 1@ = 12643640 
000A: 1@ += 874 
0006: 2@ = 12631144  
0006: 3@ = 0 
0006: 4@ = 0 
0002: jump @CGLEFAM_50223

:CGLEFAM_50116
wait 0   
0006: 0@ = 0

:test_1
wait 0
000A: 0@ += 1
if
gosub @Newdelet_2
jf @test_1
gosub @CarFami_2

:CGLEFAM_50223
0001: wait 0 ms 
00D6: if 
0039:   4@ == 0 
004D: jump_if_false @CGLEFAM_51779 
0002: jump @CGLEFAM_50337 

:CGLEFAM_50337
0001: wait 0 ms 
00D6: if 
0583:   player $PLAYER_CHAR in_zone 'GRL1B'  
else_jump @CMWTFAM_51882
0002: jump @CGLEFAM_50448 

:CMWTFAM_51882
0001: wait 0 ms 
00D6: if 
0583:   player $PLAYER_CHAR in_zone 'WHET' 
004D: jump_if_false @CMWTFAM_51993 
0002: jump @CWSTFLIFAM_68255 

:CMWTFAM_51993
0001: wait 0 ms 
00D6: if 
0583:   player $PLAYER_CHAR in_zone 'FLINTC' 
004D: jump_if_false @CMWTFAM_52105
0002: jump @CWSTFLIFAM_68255 

:CMWTFAM_52105
0001: wait 0 ms 
00D6: if 
0583:   player $PLAYER_CHAR in_zone 'RED' 
004D: jump_if_false @CMWTFAM_52217
0002: jump @CREDCOYFAM_66490 

:CMWTFAM_52217
0001: wait 0 ms 
00D6: if 
0583:   player $PLAYER_CHAR in_zone 'SF'
else_jump @CNETFAM_53769
0002: jump @CMWTFAM_52324 

:CNETFAM_53769
0001: wait 0 ms 
00D6: if 
0583:   player $PLAYER_CHAR in_zone 'VE' 
004D: jump_if_false @CNETFAM_53872 
0002: jump @CNETFAM_54328 

:CNETFAM_53872
0001: wait 0 ms 
00D6: if 
0583:   player $PLAYER_CHAR in_zone 'BONE' 
004D: jump_if_false @CNETFAM_53986 
0002: jump @DESERTFAM_70255 

:CNETFAM_53986
0001: wait 0 ms 
00D6: if 
0583:   player $PLAYER_CHAR in_zone 'ROBAD' 
004D: jump_if_false @CNETFAM_54191
0002: jump @DESERTFAM_70255

:CNETFAM_54191
0001: wait 0 ms 
00D6: if 
0583:   player $PLAYER_CHAR in_zone 'ROBAD1' 
else_jump @CRODFAM_55764 
0002: jump @DESERTFAM_70255

:CRODFAM_55764
0001: wait 0 ms 
00D6: if 
0583:   player $PLAYER_CHAR in_zone 'GRL2B' 
else_jump @CORANFAM_57422
0002: jump @CRODFAM_55876

:CORANFAM_57422
0001: wait 0 ms 
00D6: if 
0583:   player $PLAYER_CHAR in_zone 'MULINT' 
else_jump @CORANFAM_57473
0002: jump @CORANFAM_57539

:CORANFAM_57473
0001: wait 0 ms 
00D6: if 
0583:   player $PLAYER_CHAR in_zone 'GRL4A' 
else_jump @CSTBFAM_58976 
0002: jump @CORANFAM_57539

:CSTBFAM_58976
0001: wait 0 ms 
00D6: if 
0583:   player $PLAYER_CHAR in_zone 'GRL3C' 
else_jump @CTDFFAM_60729
0002: jump @CSTBFAM_59282 

:CTDFFAM_60729
0001: wait 0 ms 
00D6: if 
0583:   player $PLAYER_CHAR in_zone 'GRL1A'
else_jump @CSAMFAM_62382
0002: jump @CTDFFAM_60839 

:CSAMFAM_62382
0001: wait 0 ms 
00D6: if 
0583:   player $PLAYER_CHAR in_zone 'GRL1C'  
else_jump @CSBVFAM_63938
0002: jump @CSAMFAM_62490 

:CSBVFAM_63938
0001: wait 0 ms 
00D6: if 
0583:   player $PLAYER_CHAR in_zone 'PLS' 
004D: jump_if_false @CSBVFAM_64147 
0002: jump @CSBVFAM_64255 

:CSBVFAM_64147
0001: wait 0 ms 
00D6: if 
0583:   player $PLAYER_CHAR in_zone 'GRL2A' 
else_jump @CGLEFAM_50004
0002: jump @CSBVFAM_64255 

:CGLEFAM_50448
0001: wait 0 ms 
0006: 4@ = 1      
gosub @Memory_Read 
20@ = 411
21@ = 479
22@ = 491 
gosub @Memory_Wirite
gosub @loadmodels
0A8D: 3@ = read_memory 2@ size 4 virtual_protect 0

:CGLEFAM_51663
0001: wait 0 ms  
0A8D: 11@ = read_memory 2@ size 4 virtual_protect 0 
000A: 0@ += 1
gosub @Newdelet_1
00D6: if 
003B:   11@ == 3@ // (int)
004D: jump_if_false @CGLEFAM_51779 
0002: jump @CGLEFAM_51663 

:CGLEFAM_51779
0001: wait 0 ms 
0006: 0@ = 0
00D6: if 
0039:   4@ == 1 
004D: jump_if_false @CGLEFAM_50337 
0006: 4@ = 0 
0085: 20@ = 5@ // (int) 
0085: 21@ = 6@ // (int) 
0085: 22@ = 7@ // (int) 
gosub @Memory_Wirite
gosub @loadmodelsb 
0002: jump @CGLEFAM_50116 

:CMWTFAM_52324
0001: wait 0 ms 
0006: 4@ = 1      
gosub @Memory_Read 
20@ = 496
21@ = 560
22@ = 579 
gosub @Memory_Wirite
gosub @loadmodels
0A8D: 3@ = read_memory 2@ size 4 virtual_protect 0

:CMWTFAM_53547
0001: wait 0 ms  
0A8D: 11@ = read_memory 2@ size 4 virtual_protect 0 
000A: 0@ += 1
gosub @Newdelet_1
00D6: if 
003B:   11@ == 3@ // (int)
004D: jump_if_false @CMWTFAM_53658 
0002: jump @CMWTFAM_53547 

:CMWTFAM_53658
0001: wait 0 ms 
0006: 0@ = 0
00D6: if 
0039:   4@ == 1 
004D: jump_if_false @CGLEFAM_50337 
0006: 4@ = 0 
0085: 20@ = 5@ // (int) 
0085: 21@ = 6@ // (int) 
0085: 22@ = 7@ // (int) 
gosub @Memory_Wirite
gosub @loadmodelsb 
0002: jump @CGLEFAM_50116 

:CNETFAM_54328
0001: wait 0 ms 
0006: 4@ = 1      
gosub @Memory_Read 
20@ = 451
21@ = 559
22@ = 603 
gosub @Memory_Wirite
gosub @loadmodels
0A8D: 3@ = read_memory 2@ size 4 virtual_protect 0

:CNETFAM_55549
0001: wait 0 ms  
0A8D: 11@ = read_memory 2@ size 4 virtual_protect 0 
000A: 0@ += 1
gosub @Newdelet_1
00D6: if 
003B:   11@ == 3@ // (int)
004D: jump_if_false @CNETFAM_55653 
0002: jump @CNETFAM_55549 

:CNETFAM_55653
0001: wait 0 ms 
0006: 0@ = 0
00D6: if 
0039:   4@ == 1 
004D: jump_if_false @CGLEFAM_50337 
0006: 4@ = 0 
0085: 20@ = 5@ // (int) 
0085: 21@ = 6@ // (int) 
0085: 22@ = 7@ // (int) 
gosub @Memory_Wirite
gosub @loadmodelsb 
0002: jump @CGLEFAM_50116 

:CRODFAM_55876
0001: wait 0 ms 
0006: 4@ = 1      
gosub @Memory_Read 
20@ = 429
21@ = 506
22@ = 554 
gosub @Memory_Wirite
gosub @loadmodels
0A8D: 3@ = read_memory 2@ size 4 virtual_protect 0 

:CRODFAM_57192
0001: wait 0 ms  
0A8D: 11@ = read_memory 2@ size 4 virtual_protect 0 
000A: 0@ += 1
gosub @Newdelet_1
00D6: if 
003B:   11@ == 3@ // (int)
004D: jump_if_false @CRODFAM_57301 
0002: jump @CRODFAM_57192 

:CRODFAM_57301
0001: wait 0 ms 
0006: 0@ = 0
00D6: if 
0039:   4@ == 1 
004D: jump_if_false @CGLEFAM_50337 
0006: 4@ = 0 
0085: 20@ = 5@ // (int) 
0085: 21@ = 6@ // (int) 
0085: 22@ = 7@ // (int) 
gosub @Memory_Wirite
gosub @loadmodelsb 
0002: jump @CGLEFAM_50116

:CORANFAM_57539
0001: wait 0 ms 
0006: 4@ = 1      
gosub @Memory_Read 
20@ = 419
21@ = 440
22@ = 565 
gosub @Memory_Wirite
gosub @loadmodels
0A8D: 3@ = read_memory 2@ size 4 virtual_protect 0 

:CORANFAM_58758
0001: wait 0 ms  
0A8D: 11@ = read_memory 2@ size 4 virtual_protect 0 
000A: 0@ += 1
gosub @Newdelet_1
00D6: if 
003B:   11@ == 3@ // (int)
004D: jump_if_false @CORANFAM_58863 
0002: jump @CORANFAM_58758 

:CORANFAM_58863
0001: wait 0 ms 
0006: 0@ = 0
00D6: if 
0039:   4@ == 1 
004D: jump_if_false @CGLEFAM_50337 
0006: 4@ = 0 
0085: 20@ = 5@ // (int) 
0085: 21@ = 6@ // (int) 
0085: 22@ = 7@ // (int) 
gosub @Memory_Wirite
gosub @loadmodelsb 
0002: jump @CGLEFAM_50116 
 
:CSTBFAM_59282
0001: wait 0 ms 
0006: 4@ = 1      
gosub @Memory_Read 
20@ = 402
21@ = 415
22@ = 541 
gosub @Memory_Wirite
gosub @loadmodels
0A8D: 3@ = read_memory 2@ size 4 virtual_protect 0 

:CSTBFAM_60509
0001: wait 0 ms  
0A8D: 11@ = read_memory 2@ size 4 virtual_protect 0 
000A: 0@ += 1
gosub @Newdelet_1
00D6: if 
003B:   11@ == 3@ // (int)
004D: jump_if_false @CSTBFAM_60616 
0002: jump @CSTBFAM_60509 

:CSTBFAM_60616
0001: wait 0 ms 
0006: 0@ = 0
00D6: if 
0039:   4@ == 1 
004D: jump_if_false @CGLEFAM_50337 
0006: 4@ = 0 
0085: 20@ = 5@ // (int) 
0085: 21@ = 6@ // (int) 
0085: 22@ = 7@ // (int) 
gosub @Memory_Wirite
gosub @loadmodelsb 
0002: jump @CGLEFAM_50116
 
:CTDFFAM_60839
0001: wait 0 ms 
0006: 4@ = 1      
gosub @Memory_Read 
20@ = 540
21@ = 551
22@ = 600 
gosub @Memory_Wirite
gosub @loadmodels
0A8D: 3@ = read_memory 2@ size 4 virtual_protect 0 

:CTDFFAM_62157
0001: wait 0 ms  
0A8D: 11@ = read_memory 2@ size 4 virtual_protect 0 
000A: 0@ += 1
gosub @Newdelet_1
00D6: if 
003B:   11@ == 3@ // (int)
004D: jump_if_false @CTDFFAM_62268 
0002: jump @CTDFFAM_62157 

:CTDFFAM_62268
0001: wait 0 ms 
0006: 0@ = 0
00D6: if 
0039:   4@ == 1 
004D: jump_if_false @CGLEFAM_50337 
0006: 4@ = 0 
0085: 20@ = 5@ // (int) 
0085: 21@ = 6@ // (int) 
0085: 22@ = 7@ // (int) 
gosub @Memory_Wirite
gosub @loadmodelsb 
0002: jump @CGLEFAM_50116

:CSAMFAM_62490
0001: wait 0 ms 
0006: 4@ = 1      
gosub @Memory_Read 
20@ = 400
21@ = 482
22@ = 483 
gosub @Memory_Wirite
gosub @loadmodels
0A8D: 3@ = read_memory 2@ size 4 virtual_protect 0 

:CSAMFAM_63714
0001: wait 0 ms  
0A8D: 11@ = read_memory 2@ size 4 virtual_protect 0 
000A: 0@ += 1
gosub @Newdelet_1
00D6: if 
003B:   11@ == 3@ // (int)
004D: jump_if_false @CSAMFAM_63826 
0002: jump @CSAMFAM_63714 

:CSAMFAM_63826
0001: wait 0 ms 
0006: 0@ = 0
00D6: if 
0039:   4@ == 1 
004D: jump_if_false @CGLEFAM_50337 
0006: 4@ = 0 
0085: 20@ = 5@ // (int) 
0085: 21@ = 6@ // (int) 
0085: 22@ = 7@ // (int) 
gosub @Memory_Wirite
gosub @loadmodelsb 
0002: jump @CGLEFAM_50116
 
:CSBVFAM_64255
0001: wait 0 ms 
0006: 4@ = 1      
gosub @Memory_Read 
20@ = 405
21@ = 424
22@ = 535 
gosub @Memory_Wirite
gosub @loadmodels
0A8D: 3@ = read_memory 2@ size 4 virtual_protect 0 

:CSBVFAM_65471
0001: wait 0 ms  
0A8D: 11@ = read_memory 2@ size 4 virtual_protect 0 
000A: 0@ += 1
gosub @Newdelet_1
00D6: if 
003B:   11@ == 3@ // (int)
004D: jump_if_false @CSBVFAM_65580 
0002: jump @CSBVFAM_65471 

:CSBVFAM_65580                                                 
0001: wait 0 ms 
0006: 0@ = 0
00D6: if 
0039:   4@ == 1 
004D: jump_if_false @CGLEFAM_50337 
0006: 4@ = 0 
0085: 20@ = 5@ // (int) 
0085: 21@ = 6@ // (int) 
0085: 22@ = 7@ // (int) 
gosub @Memory_Wirite
gosub @loadmodelsb 
0002: jump @CGLEFAM_50116

:CREDCOYFAM_66490
0001: wait 0 ms 
0006: 4@ = 1      
gosub @Memory_Read 
20@ = 505
21@ = 516
22@ = 543 
gosub @Memory_Wirite
gosub @loadmodels
0A8D: 3@ = read_memory 2@ size 4 virtual_protect 0 

:CREDCOYFAM_67714
0001: wait 0 ms  
0A8D: 11@ = read_memory 2@ size 4 virtual_protect 0 
000A: 0@ += 1
gosub @Newdelet_1
00D6: if 
003B:   11@ == 3@ // (int)
004D: jump_if_false @CREDCOYFAM_67826 
0002: jump @CREDCOYFAM_67714 

:CREDCOYFAM_67826
0001: wait 0 ms 
0006: 0@ = 0
00D6: if 
0039:   4@ == 1 
004D: jump_if_false @CGLEFAM_50337 
0006: 4@ = 0 
0085: 20@ = 5@ // (int) 
0085: 21@ = 6@ // (int) 
0085: 22@ = 7@ // (int) 
gosub @Memory_Wirite
gosub @loadmodelsb 
0002: jump @CGLEFAM_50116
 
:CWSTFLIFAM_68255
0001: wait 0 ms 
0006: 4@ = 1      
gosub @Memory_Read 
20@ = 404
21@ = 422
22@ = 478 
gosub @Memory_Wirite
gosub @loadmodels
0A8D: 3@ = read_memory 2@ size 4 virtual_protect 0 

:CWSTFLIFAM_69471
0001: wait 0 ms  
0A8D: 11@ = read_memory 2@ size 4 virtual_protect 0 
000A: 0@ += 1
gosub @Newdelet_1
00D6: if 
003B:   11@ == 3@ // (int)
004D: jump_if_false @CWSTFLIFAM_69580 
0002: jump @CWSTFLIFAM_69471 

:CWSTFLIFAM_69580                                                 
0001: wait 0 ms 
0006: 0@ = 0
00D6: if 
0039:   4@ == 1 
004D: jump_if_false @CGLEFAM_50337 
0006: 4@ = 0 
0085: 20@ = 5@ // (int) 
0085: 21@ = 6@ // (int) 
0085: 22@ = 7@ // (int) 
gosub @Memory_Wirite
gosub @loadmodelsb 
0002: jump @CGLEFAM_50116

:DESERTFAM_70255
0001: wait 0 ms 
0006: 4@ = 1      
gosub @Memory_Read 
20@ = 498
21@ = 542
22@ = 580 
gosub @Memory_Wirite
gosub @loadmodels
0A8D: 3@ = read_memory 2@ size 4 virtual_protect 0 

:DESERTFAM_71471
0001: wait 0 ms  
0A8D: 11@ = read_memory 2@ size 4 virtual_protect 0 
000A: 0@ += 1
gosub @Newdelet_1
00D6: if 
003B:   11@ == 3@ // (int)
004D: jump_if_false @DESERTFAM_71580 
0002: jump @DESERTFAM_71471 

:DESERTFAM_71580                                                 
0001: wait 0 ms 
0006: 0@ = 0
00D6: if 
0039:   4@ == 1 
004D: jump_if_false @CGLEFAM_50337 
0006: 4@ = 0 
0085: 20@ = 5@ // (int) 
0085: 21@ = 6@ // (int) 
0085: 22@ = 7@ // (int) 
gosub @Memory_Wirite
gosub @loadmodelsb 
0002: jump @CGLEFAM_50116

:CarFami_1
wait 0 
Model.Destroy(5@)
Model.Destroy(6@)
Model.Destroy(7@)
return 

:CarFami_2
wait 0 
Model.Destroy(20@)
Model.Destroy(21@)
Model.Destroy(22@)
return 

:loadmodels
wait 0
Model.Load(20@)
Model.Load(21@)
Model.Load(22@)

:loadmodels2
if or
   not Model.Available(20@)
   not Model.Available(21@)
   not Model.Available(22@)
jf @loadmodels3 
wait 0 
jump @loadmodels2 

:loadmodels3
return 

:loadmodelsb
wait 0
Model.Load(5@) 
Model.Load(6@)
Model.Load(7@)

:loadmodelsb2
if or
   not Model.Available(5@)
   not Model.Available(6@)
   not Model.Available(7@)
jf @loadmodelsb3 
wait 0 
jump @loadmodelsb2 

:loadmodelsb3
return  

:Memory_Read
wait 0
0A8D: 5@ = read_memory 1@ size 2 virtual_protect 0 
000A: 1@ += 2 
0A8D: 6@ = read_memory 1@ size 2 virtual_protect 0 
000A: 1@ += 2 
0A8D: 7@ = read_memory 1@ size 2 virtual_protect 0 
000E: 1@ -= 4 
jf @Memory_Read
return

:Memory_Wirite
wait 0
0A8C: write_memory 1@ size 2 value 20@ virtual_protect 0 
000A: 1@ += 2 
0A8C: write_memory 1@ size 2 value 21@ virtual_protect 0 
000A: 1@ += 2 
0A8C: write_memory 1@ size 2 value 22@ virtual_protect 0 
000E: 1@ -= 4 
jf @Memory_Wirite
return

:Newdelet_1
wait 0
if 
0@ == 2
jf @Newdelet_1A
gosub @CarFami_1

:Newdelet_1A
return

:Newdelet_2
wait 0
if 
0@ == 2
jf @Newdelet_2A 
return

:Newdelet_2A
wait 0
0AA1: return_if_false